<?php
/**
 * Created by PhpStorm.
 * User: liyongyao
 * Date: 2018/7/31
 * Time: 22:27
 */

namespace app\index\controller;


class Blog
{
    public  function get($id){
        return '查看id='.$id.'的内容';
    }

    public  function read($name){
        return '查看name='.$name.'的内容';
    }

    public function archive($year,$month){
        return '查看'.$year.'/'.$month.'的归档';
    }
}